<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::PointCloudGeometryHandler&lt; pcl::PCLPointCloud2 &gt;类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::PointCloudGeometryHandler&lt; pcl::PCLPointCloud2 &gt;类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base handler class for <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> geometry.  
 <a href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="point__cloud__geometry__handlers_8h_source.html">point_cloud_geometry_handlers.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::visualization::PointCloudGeometryHandler&lt; pcl::PCLPointCloud2 &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.png" usemap="#pcl::visualization::PointCloudGeometryHandler_3C_20pcl::PCLPointCloud2_20_3E_map" alt=""/>
  <map id="pcl::visualization::PointCloudGeometryHandler_3C_20pcl::PCLPointCloud2_20_3E_map" name="pcl::visualization::PointCloudGeometryHandler_3C_20pcl::PCLPointCloud2_20_3E_map">
<area href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_custom_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html" title="Custom handler class for PointCloud geometry. Given an input dataset and three user defined fields,..." alt="pcl::visualization::PointCloudGeometryHandlerCustom&lt; pcl::PCLPointCloud2 &gt;" shape="rect" coords="0,56,494,80"/>
<area href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_surface_normal_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html" title="Surface normal handler class for PointCloud geometry. Given an input dataset, all data present in fie..." alt="pcl::visualization::PointCloudGeometryHandlerSurfaceNormal&lt; pcl::PCLPointCloud2 &gt;" shape="rect" coords="504,56,998,80"/>
<area href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_x_y_z_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html" title="XYZ handler class for PointCloud geometry. Given an input dataset, all XYZ data present in fields &quot;x&quot;..." alt="pcl::visualization::PointCloudGeometryHandlerXYZ&lt; pcl::PCLPointCloud2 &gt;" shape="rect" coords="1008,56,1502,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a96c94d864edfc4bc3144401e035c0796"><td class="memItemLeft" align="right" valign="top"><a id="a96c94d864edfc4bc3144401e035c0796"></a>
typedef <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloud</b></td></tr>
<tr class="separator:a96c94d864edfc4bc3144401e035c0796"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d638319f5169a984fc5e53c8ae3d509"><td class="memItemLeft" align="right" valign="top"><a id="a9d638319f5169a984fc5e53c8ae3d509"></a>
typedef PointCloud::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudPtr</b></td></tr>
<tr class="separator:a9d638319f5169a984fc5e53c8ae3d509"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6044f74f1a028ea61dc3a62a6c71cbe"><td class="memItemLeft" align="right" valign="top"><a id="ac6044f74f1a028ea61dc3a62a6c71cbe"></a>
typedef PointCloud::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudConstPtr</b></td></tr>
<tr class="separator:ac6044f74f1a028ea61dc3a62a6c71cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84f0e71a06b5ecf806e398726cc5e0cd"><td class="memItemLeft" align="right" valign="top"><a id="a84f0e71a06b5ecf806e398726cc5e0cd"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler.html">PointCloudGeometryHandler</a>&lt; <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">PointCloud</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a84f0e71a06b5ecf806e398726cc5e0cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa83169a0a8e7c4bde51ac277ff2cf41"><td class="memItemLeft" align="right" valign="top"><a id="aaa83169a0a8e7c4bde51ac277ff2cf41"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler.html">PointCloudGeometryHandler</a>&lt; <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">PointCloud</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:aaa83169a0a8e7c4bde51ac277ff2cf41"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab456ce951f784e228137c0ca6b3d7807"><td class="memItemLeft" align="right" valign="top"><a id="ab456ce951f784e228137c0ca6b3d7807"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#ab456ce951f784e228137c0ca6b3d7807">PointCloudGeometryHandler</a> (const PointCloudConstPtr &amp;cloud, const Eigen::Vector4f &amp;=Eigen::Vector4f::Zero())</td></tr>
<tr class="memdesc:ab456ce951f784e228137c0ca6b3d7807"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ab456ce951f784e228137c0ca6b3d7807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a786778075ec44ba4dcd04168e3e93138"><td class="memItemLeft" align="right" valign="top"><a id="a786778075ec44ba4dcd04168e3e93138"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a786778075ec44ba4dcd04168e3e93138">~PointCloudGeometryHandler</a> ()</td></tr>
<tr class="memdesc:a786778075ec44ba4dcd04168e3e93138"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a786778075ec44ba4dcd04168e3e93138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06751869c76384896276f0d8fb99f95f"><td class="memItemLeft" align="right" valign="top"><a id="a06751869c76384896276f0d8fb99f95f"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a06751869c76384896276f0d8fb99f95f">getName</a> () const =0</td></tr>
<tr class="memdesc:a06751869c76384896276f0d8fb99f95f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract getName method. <br /></td></tr>
<tr class="separator:a06751869c76384896276f0d8fb99f95f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af393f02b633ba9cada32486d3f1f3e95"><td class="memItemLeft" align="right" valign="top"><a id="af393f02b633ba9cada32486d3f1f3e95"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#af393f02b633ba9cada32486d3f1f3e95">getFieldName</a> () const =0</td></tr>
<tr class="memdesc:af393f02b633ba9cada32486d3f1f3e95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract getFieldName method. <br /></td></tr>
<tr class="separator:af393f02b633ba9cada32486d3f1f3e95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75676c11d05cf4f66e582a82068aeff6"><td class="memItemLeft" align="right" valign="top"><a id="a75676c11d05cf4f66e582a82068aeff6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a75676c11d05cf4f66e582a82068aeff6">isCapable</a> () const</td></tr>
<tr class="memdesc:a75676c11d05cf4f66e582a82068aeff6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if this handler is capable of handling the input data or not. <br /></td></tr>
<tr class="separator:a75676c11d05cf4f66e582a82068aeff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a745aff83d06f8c3f827ce607129787eb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a745aff83d06f8c3f827ce607129787eb">getGeometry</a> (<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkPoints &gt; &amp;points) const</td></tr>
<tr class="memdesc:a745aff83d06f8c3f827ce607129787eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the actual point geometry for the input dataset in VTK format.  <a href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a745aff83d06f8c3f827ce607129787eb">更多...</a><br /></td></tr>
<tr class="separator:a745aff83d06f8c3f827ce607129787eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1743466c1ac5c60dc85c3168c3289e9d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a1743466c1ac5c60dc85c3168c3289e9d">setInputCloud</a> (const PointCloudConstPtr &amp;cloud)</td></tr>
<tr class="memdesc:a1743466c1ac5c60dc85c3168c3289e9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input cloud to be used.  <a href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a1743466c1ac5c60dc85c3168c3289e9d">更多...</a><br /></td></tr>
<tr class="separator:a1743466c1ac5c60dc85c3168c3289e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a69ae3c3d087e7265ac1d488984f3315f"><td class="memItemLeft" align="right" valign="top"><a id="a69ae3c3d087e7265ac1d488984f3315f"></a>
PointCloudConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a69ae3c3d087e7265ac1d488984f3315f">cloud_</a></td></tr>
<tr class="memdesc:a69ae3c3d087e7265ac1d488984f3315f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the input dataset. <br /></td></tr>
<tr class="separator:a69ae3c3d087e7265ac1d488984f3315f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e528353b2274e696907c9edd1471e17"><td class="memItemLeft" align="right" valign="top"><a id="a7e528353b2274e696907c9edd1471e17"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a7e528353b2274e696907c9edd1471e17">capable_</a></td></tr>
<tr class="memdesc:a7e528353b2274e696907c9edd1471e17"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if this handler is capable of handling the input data, false otherwise. <br /></td></tr>
<tr class="separator:a7e528353b2274e696907c9edd1471e17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94ccbddeea74d07d40227df832a54727"><td class="memItemLeft" align="right" valign="top"><a id="a94ccbddeea74d07d40227df832a54727"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a94ccbddeea74d07d40227df832a54727">field_x_idx_</a></td></tr>
<tr class="memdesc:a94ccbddeea74d07d40227df832a54727"><td class="mdescLeft">&#160;</td><td class="mdescRight">The index of the field holding the X data. <br /></td></tr>
<tr class="separator:a94ccbddeea74d07d40227df832a54727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac37d1b5096d9780bd558cc6c1e4e1d4"><td class="memItemLeft" align="right" valign="top"><a id="aac37d1b5096d9780bd558cc6c1e4e1d4"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#aac37d1b5096d9780bd558cc6c1e4e1d4">field_y_idx_</a></td></tr>
<tr class="memdesc:aac37d1b5096d9780bd558cc6c1e4e1d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The index of the field holding the Y data. <br /></td></tr>
<tr class="separator:aac37d1b5096d9780bd558cc6c1e4e1d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70bd6c7a037d56fbac9b5cb42b148313"><td class="memItemLeft" align="right" valign="top"><a id="a70bd6c7a037d56fbac9b5cb42b148313"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a70bd6c7a037d56fbac9b5cb42b148313">field_z_idx_</a></td></tr>
<tr class="memdesc:a70bd6c7a037d56fbac9b5cb42b148313"><td class="mdescLeft">&#160;</td><td class="mdescRight">The index of the field holding the Z data. <br /></td></tr>
<tr class="separator:a70bd6c7a037d56fbac9b5cb42b148313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95cd5cfa7e50396cee5fcc6361e7ab0c"><td class="memItemLeft" align="right" valign="top"><a id="a95cd5cfa7e50396cee5fcc6361e7ab0c"></a>
std::vector&lt; <a class="el" href="structpcl_1_1_p_c_l_point_field.html">pcl::PCLPointField</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a95cd5cfa7e50396cee5fcc6361e7ab0c">fields_</a></td></tr>
<tr class="memdesc:a95cd5cfa7e50396cee5fcc6361e7ab0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of fields available for this <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a>. <br /></td></tr>
<tr class="separator:a95cd5cfa7e50396cee5fcc6361e7ab0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Base handler class for <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> geometry. </p>
<dl class="section author"><dt>作者</dt><dd>Radu B. Rusu </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a745aff83d06f8c3f827ce607129787eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a745aff83d06f8c3f827ce607129787eb">&#9670;&nbsp;</a></span>getGeometry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler.html">pcl::visualization::PointCloudGeometryHandler</a>&lt; <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &gt;::getGeometry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkPoints &gt; &amp;&#160;</td>
          <td class="paramname"><em>points</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtain the actual point geometry for the input dataset in VTK format. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">points</td><td>the resultant geometry </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1743466c1ac5c60dc85c3168c3289e9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1743466c1ac5c60dc85c3168c3289e9d">&#9670;&nbsp;</a></span>setInputCloud()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler.html">pcl::visualization::PointCloudGeometryHandler</a>&lt; <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &gt;::setInputCloud </td>
          <td>(</td>
          <td class="paramtype">const PointCloudConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the input cloud to be used. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>the input cloud to be used by the handler </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        {</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;          <a class="code" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a69ae3c3d087e7265ac1d488984f3315f">cloud_</a> = cloud;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4_html_a69ae3c3d087e7265ac1d488984f3315f"><div class="ttname"><a href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html#a69ae3c3d087e7265ac1d488984f3315f">pcl::visualization::PointCloudGeometryHandler&lt; pcl::PCLPointCloud2 &gt;::cloud_</a></div><div class="ttdeci">PointCloudConstPtr cloud_</div><div class="ttdoc">A pointer to the input dataset.</div><div class="ttdef"><b>Definition:</b> point_cloud_geometry_handlers.h:375</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="point__cloud__geometry__handlers_8h_source.html">point_cloud_geometry_handlers.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_point_cloud_geometry_handler_3_01pcl_1_1_p_c_l_point_cloud2_01_4.html">PointCloudGeometryHandler&lt; pcl::PCLPointCloud2 &gt;</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
